\hypertarget{classaetycoon_1_1_set_property}{
\section{aetycoon.SetProperty Class Reference}
\label{classaetycoon_1_1_set_property}\index{aetycoon::SetProperty@{aetycoon::SetProperty}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classaetycoon_1_1_set_property_a10822fe750e9deeffd2758a3184e8a3e}{
def {\bfseries validate}}
\label{classaetycoon_1_1_set_property_a10822fe750e9deeffd2758a3184e8a3e}

\item 
\hypertarget{classaetycoon_1_1_set_property_a4c1b69ae30a30051bd7db2b46943ecf0}{
def {\bfseries default\_\-value}}
\label{classaetycoon_1_1_set_property_a4c1b69ae30a30051bd7db2b46943ecf0}

\item 
\hypertarget{classaetycoon_1_1_set_property_a5a26fad7b8bbc7adbf28b5ba260029bc}{
def {\bfseries get\_\-value\_\-for\_\-datastore}}
\label{classaetycoon_1_1_set_property_a5a26fad7b8bbc7adbf28b5ba260029bc}

\item 
\hypertarget{classaetycoon_1_1_set_property_af09555ca58e1625992d5975cef5ab55d}{
def {\bfseries make\_\-value\_\-from\_\-datastore}}
\label{classaetycoon_1_1_set_property_af09555ca58e1625992d5975cef5ab55d}

\item 
\hypertarget{classaetycoon_1_1_set_property_af3e88891222d50c3527876b4d529e94e}{
def {\bfseries get\_\-form\_\-field}}
\label{classaetycoon_1_1_set_property_af3e88891222d50c3527876b4d529e94e}

\item 
\hypertarget{classaetycoon_1_1_set_property_a7be93391b1384f07a8e023f4b68bafdf}{
def {\bfseries get\_\-value\_\-for\_\-form}}
\label{classaetycoon_1_1_set_property_a7be93391b1384f07a8e023f4b68bafdf}

\item 
\hypertarget{classaetycoon_1_1_set_property_aee3cef6cf340dab174c37ec402f85a88}{
def {\bfseries make\_\-value\_\-from\_\-form}}
\label{classaetycoon_1_1_set_property_aee3cef6cf340dab174c37ec402f85a88}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}A property that stores a set of things.

This is a parameterized property; the parameter must be a valid
non-list data type, and all items must conform to this type.

Example usage:

>>> class SetModel(db.Model):
...   a_set = SetProperty(int)

>>> model = SetModel()
>>> model.a_set = set([1, 2, 3])
>>> model.a_set
set([1, 2, 3])
>>> model.a_set.add(4)
>>> model.a_set
set([1, 2, 3, 4])
>>> model.put() # doctest: +ELLIPSIS
datastore_types.Key.from_path(u'SetModel', ...)

>>> model2 = SetModel.all().get()
>>> model2.a_set
set([1L, 2L, 3L, 4L])
\end{DoxyVerb}
 

The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
aetycoon/\_\-\_\-init\_\-\_\-.py\end{DoxyCompactItemize}
